package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.EsignDealerCreateDto;
import com.molichuxing.services.infrastructure.dto.request.modify.EsignDealerModifyDto;
import com.molichuxing.services.infrastructure.dto.response.EsignCompanyDto;
import com.molichuxing.services.infrastructure.dto.response.EsignDealerDto;

import java.util.Map;


/**
 * <p>
 * 经销商印章 服务类
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-10-08
 */
public interface EsignDealerService extends RootService {

    /**
     * 添加
     *
     * @param esignDealerCreateDto
     * @return
     * @throws Exception
     */
    public Integer createEsignDealer(EsignDealerCreateDto esignDealerCreateDto) throws Exception;

    /**
     * 通过id查询
     *
     * @param id
     * @return
     */
    public EsignDealerDto getEsignDealerById(Integer id);

    /**
     * 修改
     *
     * @param esignDealerModifyDto
     * @return
     * @throws Exception
     */
    public Boolean modifyEsignDealer(EsignDealerModifyDto esignDealerModifyDto) throws Exception;

    /**
     * 获取集合
     *
     * @return
     */
    public Map<Integer, EsignDealerDto> getEsignDealerMap();
}
